var e = getApp();

Page({
    data: {
        numData: {},
        server: e.server,
        serverUrl: e.serverUrl
    },
    onLoad: function(t) {
        var n = this;
        wx.setNavigationBarTitle({
            title: "名片"
        }), e.request({
            url: e.server + "/userApi/getFactoryInfo",
            method: "POST",
            data: {
                token: e.token
            },
            header: {
                "content-type": "application/x-www-form-urlencoded"
            },
            success: function(e) {
                console.log(e), n.setData({
                    numData: e.data.result.info
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {
        wx.setNavigationBarTitle({
            title: "名片"
        });
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});